﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MINIGKP
{
    public class IPorPortInfo
    {
        private static IPorPortInfo instance;
        private IPorPortInfo() { }
        public static IPorPortInfo Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new IPorPortInfo();
                }
                return instance;
            }
        }
        /// <summary>
        /// 咖啡机ip
        /// </summary>
        public string CoffeeIP { get; set; } = "192.168.7.7";
        /// <summary>
        /// 咖啡机端口号
        /// </summary>
        public string CoffeePort { get; set; } = "444";
        /// <summary>
        /// 机械臂左臂ip
        /// </summary>
        public string RobotIPLeft { get; set; } = "192.168.0.21";
        /// <summary>
        /// 其他通讯串口名
        /// </summary>
        public string IOPortName { get; set; } = "com7";
        /// <summary>
        /// 二维码通讯串口名
        /// </summary>
        public string EWMPortName { get; set; } = "com4";
        /// <summary>
        /// 小吃机通讯串口名
        /// </summary>
        public string SMPortName { get; set; } = "com2";
        /// <summary>
        /// 机器人通讯串口名
        /// </summary>
        public string RobotPortName { get; set; } = "com7";
        /// <summary>
        /// 机器人通讯串口名
        /// </summary>
        public int SweetInit1 { get; set; } = 2000;
        /// <summary>
        /// 机器人通讯串口名
        /// </summary>
        public int SweetInit2 { get; set; } = 1400;
        /// <summary>
        /// 机器人通讯串口名
        /// </summary>
        public int SweetInit3 { get; set; } = 1000;

    }
}
